package com.ruoyi.develop.goodsSaleChuan.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 串行金具对象 goods_sale_chuan
 *
 * @author lmm
 * @date 2025-07-05
 */
public class GoodsSaleChuan extends BaseEntity {
private static final long serialVersionUID=1L;

    /** 主键 */
    private String id;

    /** 工程名称 */
    @Excel(name = "工程名称")
    private String gongchengName;

    /** 合同交货日期 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @Excel(name = "合同交货日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date deliveryTime;

    /** 产品类型 0-单行金具 1-串行金具 */
    @Excel(name = "产品类型 0-单行金具 1-串行金具")
    private String type;

    /** 商品id */
    @Excel(name = "商品id")
    private String goodsId;

    /** 产品编码 */
    @Excel(name = "产品编码")
    private String goodsCode;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String goodsName;

    /** 产品型号 */
    @Excel(name = "产品型号")
    private String goodsModel;

    /** 产品数量 */
    @Excel(name = "产品数量")
    private BigDecimal goodsCount;

    /** 销售日期 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @Excel(name = "销售日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date saleDate;

    /** 客户 */
    @Excel(name = "客户")
    private String customerId;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 订单id */
    @Excel(name = "订单id")
    private String projectId;

    /** 产品状态 */
    @Excel(name = "产品状态")
    private String status;

    /** 是否发货'0'（未发货，1发货通知单，2未发货，3部分发货，4全部发货，5全部到货） */
    @Excel(name = "是否发货'0'", readConverterExp = "未=发货，1发货通知单，2未发货，3部分发货，4全部发货，5全部到货")
    private String isfahuo;

    /** 发货时间 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @Excel(name = "发货时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date fahuoDate;

    /** 是否拆解 */
    @Excel(name = "是否拆解")
    private String ischaijie;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    private String goodsSaleId;
    private String projectCode;
    private String name;
    private String code;
    private BigDecimal count;
    private BigDecimal weight;
    private String models;
    private String goodsCountStr;
    private String countStr;
    private String weightStr;

    public String getCountStr() {
        return countStr;
    }

    public void setCountStr(String countStr) {
        this.countStr = countStr;
    }

    public String getWeightStr() {
        return weightStr;
    }

    public void setWeightStr(String weightStr) {
        this.weightStr = weightStr;
    }

    public String getGoodsCountStr() {
        return goodsCountStr;
    }

    public void setGoodsCountStr(String goodsCountStr) {
        this.goodsCountStr = goodsCountStr;
    }

    public String getModels() {
        return models;
    }

    public void setModels(String models) {
        this.models = models;
    }

    private String idx;

    public String getIdx() {
        return idx;
    }

    public void setIdx(String idx) {
        this.idx = idx;
    }

    public String getGoodsSaleId() {
        return goodsSaleId;
    }

    public void setGoodsSaleId(String goodsSaleId) {
        this.goodsSaleId = goodsSaleId;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public BigDecimal getCount() {
        return count;
    }

    public void setCount(BigDecimal count) {
        this.count = count;
    }

    public BigDecimal getWeight() {
        return weight;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setGongchengName(String gongchengName)
            {
            this.gongchengName = gongchengName;
            }

    public String getGongchengName()
            {
            return gongchengName;
            }
    public void setDeliveryTime(Date deliveryTime)
            {
            this.deliveryTime = deliveryTime;
            }

    public Date getDeliveryTime()
            {
            return deliveryTime;
            }
    public void setType(String type)
            {
            this.type = type;
            }

    public String getType()
            {
            return type;
            }
    public void setGoodsId(String goodsId)
            {
            this.goodsId = goodsId;
            }

    public String getGoodsId()
            {
            return goodsId;
            }
    public void setGoodsCode(String goodsCode)
            {
            this.goodsCode = goodsCode;
            }

    public String getGoodsCode()
            {
            return goodsCode;
            }
    public void setGoodsName(String goodsName)
            {
            this.goodsName = goodsName;
            }

    public String getGoodsName()
            {
            return goodsName;
            }
    public void setGoodsModel(String goodsModel)
            {
            this.goodsModel = goodsModel;
            }

    public String getGoodsModel()
            {
            return goodsModel;
            }
    public void setGoodsCount(BigDecimal goodsCount)
            {
            this.goodsCount = goodsCount;
            }

    public BigDecimal getGoodsCount()
            {
            return goodsCount;
            }
    public void setSaleDate(Date saleDate)
            {
            this.saleDate = saleDate;
            }

    public Date getSaleDate()
            {
            return saleDate;
            }
    public void setCustomerId(String customerId)
            {
            this.customerId = customerId;
            }

    public String getCustomerId()
            {
            return customerId;
            }
    public void setCustomerName(String customerName)
            {
            this.customerName = customerName;
            }

    public String getCustomerName()
            {
            return customerName;
            }
    public void setDelFlag(String delFlag)
            {
            this.delFlag = delFlag;
            }

    public String getDelFlag()
            {
            return delFlag;
            }
    public void setProjectId(String projectId)
            {
            this.projectId = projectId;
            }

    public String getProjectId()
            {
            return projectId;
            }
    public void setStatus(String status)
            {
            this.status = status;
            }

    public String getStatus()
            {
            return status;
            }
    public void setIsfahuo(String isfahuo)
            {
            this.isfahuo = isfahuo;
            }

    public String getIsfahuo()
            {
            return isfahuo;
            }
    public void setFahuoDate(Date fahuoDate)
            {
            this.fahuoDate = fahuoDate;
            }

    public Date getFahuoDate()
            {
            return fahuoDate;
            }
    public void setIschaijie(String ischaijie)
            {
            this.ischaijie = ischaijie;
            }

    public String getIschaijie()
            {
            return ischaijie;
            }
    public void setSort(Long sort)
            {
            this.sort = sort;
            }

    public Long getSort()
            {
            return sort;
            }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id",getId())
            .append("gongchengName",getGongchengName())
            .append("deliveryTime",getDeliveryTime())
            .append("type",getType())
            .append("goodsId",getGoodsId())
            .append("goodsCode",getGoodsCode())
            .append("goodsName",getGoodsName())
            .append("goodsModel",getGoodsModel())
            .append("goodsCount",getGoodsCount())
            .append("saleDate",getSaleDate())
            .append("customerId",getCustomerId())
            .append("customerName",getCustomerName())
            .append("delFlag",getDelFlag())
            .append("createBy",getCreateBy())
            .append("createTime",getCreateTime())
            .append("updateBy",getUpdateBy())
            .append("updateTime",getUpdateTime())
            .append("remark",getRemark())
            .append("projectId",getProjectId())
            .append("status",getStatus())
            .append("isfahuo",getIsfahuo())
            .append("fahuoDate",getFahuoDate())
            .append("ischaijie",getIschaijie())
            .append("sort",getSort())
        .toString();
    }
}
